﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DAL;
using Entity.Table;

namespace BLL.Db
{
    public class StrikeBalanceManager
    {
        /// <summary>
        /// 冲正业务
        /// </summary>
        /// <param name="strike">冲正数据实体</param>
        /// <returns></returns>
        public static bool PerformStrikeBalance(MStrikeBalance strike,out string payMoney)
        {
            return StrikeBalanceDatabase.PerformStrikeBalance(strike,out payMoney);
        }

         /// <summary>
        /// 验证数据库中是否存在要冲账的交费流水
        /// </summary>
        /// <param name="bankWater"></param>
        /// <param name="gasUserID"></param>
        /// <returns></returns>
        public static bool IsExistTradeFlow(string bankWater, string gasUserID,string payWay,out int isWriteCard)
        {
            return StrikeBalanceDatabase.IsExistTradeFlow(bankWater, gasUserID,payWay,out isWriteCard);
        }
    }
}
